//
//  BGShopCellModel.m
//  bigMall
//
//  Created by LTOVE on 16/7/20.
//  Copyright © 2016年 thinklev. All rights reserved.
//

#import "BGShopCellModel.h"
#import "MJExtension.h"
#import "BGDateFormaTool.h"
@implementation BGShopCellModel

/*
 @interface BGShopCellModel : NSObject
 @property (copy, nonatomic)  NSString *GuaDanFangShi;
 @property (copy, nonatomic)  NSString *baoZhengJIn;
 @property (copy, nonatomic)  NSString *priceNow;
 @property (copy, nonatomic)  NSString *kuCun;
 @property (copy, nonatomic)  NSString *caiFen;
 @property (copy, nonatomic)  NSString *addr;
 @property (copy, nonatomic)  NSString *jiaoHuoFangShi;
 */

+ (NSDictionary *)replacedKeyFromPropertyName
{
    return @{@"GuaDanFangShi":@"publish_type_str",
             @"title":@"title",
             @"priceNow":@"price",
             @"kuCun":@"number",
             @"caiFen":@"is_ported_str",
             @"addr":@"delivery_area",
             @"jiaoHuoFangShi":@"delivery_type_str",
//             @"add_time":@"add_time_format"
             };
}

- (NSString *)add_time
{
    return [BGDateFormaTool dateFormateWithDateStr:_add_time];
}

@end

